package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-08
 */
@TableName("edu_year_class")
@ApiModel(value = "YearClass对象", description = "")
public class YearClass implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("别名")
    private String aliasName;

    @ApiModelProperty("学段:0幼儿园，1小学，2初中，3高中")
    private Integer gradeSection;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }
    public Integer getGradeSection() {
        return gradeSection;
    }

    public void setGradeSection(Integer gradeSection) {
        this.gradeSection = gradeSection;
    }

    @Override
    public String toString() {
        return "YearClass{" +
            "id=" + id +
            ", name=" + name +
            ", aliasName=" + aliasName +
            ", gradeSection=" + gradeSection +
        "}";
    }
}
